package com.glela.goods.model.vo.goods;

import org.springframework.util.StringUtils;

/**
 * 商品的简单Vo,用于给移动端传输小数据量的VO
 * 
 * @author 卫耀华
 * @date 2016-10-20
 *
 */
public class GoodsESVo {
	private long goodId;
	private String suggestedPrice;// 建议售价
	private String lowestPrice;// 最低售价
	private int goodsType;// 0是C区商品，1是B区商品
	private int selfSupport;
	private int brandId;// 品牌id
	private int talentLimit;
	private String goodNavigateImage = "";// 介绍图
	private String name = "";// 商品名称
	private String labelName = "";
	private String navigateImage = "";

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		if (StringUtils.isEmpty(labelName)) {
			this.labelName = "";
		} else {
			this.labelName = labelName;
		}
	}

	public long getGoodId() {
		return goodId;
	}

	public void setGoodId(long goodId) {
		this.goodId = goodId;
	}

	public String getGoodNavigateImage() {
		return goodNavigateImage;
	}

	public void setGoodNavigateImage(String goodNavigateImage) {
		if (StringUtils.isEmpty(goodNavigateImage)) {
			this.goodNavigateImage = "";
		} else {
			this.goodNavigateImage = goodNavigateImage;
		}
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		if (StringUtils.isEmpty(name)) {
			this.name = "";
		} else {
			this.name = name;
		}
	}

	public String getSuggestedPrice() {
		return suggestedPrice;
	}

	public void setSuggestedPrice(String suggestedPrice) {
		this.suggestedPrice = suggestedPrice;
	}

	public String getLowestPrice() {
		return lowestPrice;
	}

	public void setLowestPrice(String lowestPrice) {
		this.lowestPrice = lowestPrice;
	}

	public int getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}

	public int getSelfSupport() {
		return selfSupport;
	}

	public void setSelfSupport(int selfSupport) {
		this.selfSupport = selfSupport;
	}

	public int getBrandId() {
		return brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public String getNavigateImage() {
		return navigateImage;
	}

	public void setNavigateImage(String navigateImage) {
		if (StringUtils.isEmpty(navigateImage)) {
			this.navigateImage = "";
		} else {
			this.navigateImage = navigateImage;
		}
	}

	public int getTalentLimit() {
		return talentLimit;
	}

	public void setTalentLimit(int talentLimit) {
		this.talentLimit = talentLimit;
	}
}
